package com.hhb.pojo;

import java.util.Date;

public class Dona_item {
    private int id;
    private int dona_id;
    private int user_id;    //捐款人id
    private float money;    //捐款数额
    private String time;

    public Dona_item() {
    }

    public Dona_item(int id, int dona_id, int user_id, float money, String time) {
        this.id = id;
        this.dona_id = dona_id;
        this.user_id = user_id;
        this.money = money;
        this.time = time;
    }

    @Override
    public String toString() {
        return "dona_item{" +
                "id=" + id +
                ", dona_id=" + dona_id +
                ", user_id=" + user_id +
                ", money=" + money +
                ", time='" + time + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDona_id() {
        return dona_id;
    }

    public void setDona_id(int dona_id) {
        this.dona_id = dona_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
